package com.gxaedu.rbac.mapper;

import com.gxaedu.rbac.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author:Teacher黄
 * @date:Created at 2020/04/20
 */
@Mapper
public interface UserMapper {


    /**
     * 通过名字去查询用户
     * @param userName
     * @return
     */
    User findByUserName(@Param("userName") String userName);



}
